package com.bdzl.pub.entity.loan;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;



/**
 * 客户个人征信查询缓存信息表
 *
 * @author yangyicai
 * @email yangyicai@foxmail.com
 * @date 2021-05-11 15:23:42
 */
@Data
public class CreditDO implements Serializable {
	private static final long serialVersionUID = 1L;

	//主键 ID，自增
	private Integer creditId;
	//身份证号码
	private String creditCardid;
	//征信查询提供方
	private String creditApiType;
	//征信查询结果
	private String creditInfo;
	//征信文件保存路径
	private String creditFilePath;
	//创建者用户 ID，外键
	private Integer creditCreuser;
	//创建时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date creditCretime;
	//最近更新征信用户 ID，外键
	private Integer creditModuser;
	//最近修改时间
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone="GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
	private Date creditModtime;
}
